import { RouteRecordRaw } from 'vue-router'

export const defaultRouter: Array<RouteRecordRaw> = [
    { path: '/:catchall(.*)', redirect: '/login' },
    {
        path: '/',
        name: '/',
        component: () => import('@/pages/login.vue'),
        meta: {
            title: '登录',
            keepAlive: false,
            index: 1,
            transition: {
                enable: true,
                name: ''
            }
        }
    }
]
